//package com.plian.system.wrapper.dp;
//
//import com.plian.system.dto.dp.DutyAnnualWorkPlanDTO;
//import com.plian.system.entity.dp.DutyAnnualWorkPlan;
//import com.plian.system.mybatis.support.BaseWrapper;
//import com.plian.system.vo.dp.DutyAnnualWorkPlanVO;
//import com.plian.system.wrapper.util.CacheWrapperUtil;
//import com.plian.system.wrapper.util.WrapperUtil;
//import org.mapstruct.Mapper;
//import org.mapstruct.Mapping;
//import org.mapstruct.Mappings;
//
//import static com.plian.system.wrapper.util.WrapperConstant.*;
//
///**
// * 责任追究 年度工作计划包装类,返回视图层所需的字段
// *
// * @author BladeX
// * @since 2021-05-07
// */
//@Mapper(componentModel = SPRING, uses = {CacheWrapperUtil.class, WrapperUtil.class})
//public interface DutyAnnualWorkPlanWrapper extends BaseWrapper<DutyAnnualWorkPlan, DutyAnnualWorkPlanDTO, DutyAnnualWorkPlanVO> {
//
//	@Override
//	@Mappings(value = {
//			@Mapping(source = "createUser", target = "createUserName", qualifiedByName = USER_ID_TO_NAME),
//			@Mapping(source = "updateUser", target = "updateUserName", qualifiedByName = USER_ID_TO_NAME),
//			@Mapping(source = "reportCompanyId", target = "reportCompanyName", qualifiedByName = ORG_ID_TO_NAME),
//			@Mapping(source = "approvedUser", target = "approvedUserName", qualifiedByName = USER_ID_TO_NAME)
//	})
//	DutyAnnualWorkPlanVO entityToVO(DutyAnnualWorkPlan entity);
//
//}
